home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / medical / mendelge.cpt / MendelGenetics / MENDELIAN GENETICS I / card_50816.txt < prev    next >
Text File  |  1989-06-13  |  14KB  |  220 lines

  1. -- card: 50816 from stack: in
  2. -- bmap block id: 78431
  3. -- flags: 0000
  4. -- background id: 2665
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 8003
  11. -- rect: left=269 top=161 right=183 bottom=369
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: RESET
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   delete line 1 of card field helpone
  23.   delete line 1 of card field helptwo
  24.   delete line 1 of card field helpthree
  25.   delete line 1 of card field ansone
  26.   get the location of card field helpone
  27.   click at it
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part 2 (button)
  33. -- low flags: 00
  34. -- high flags: 8003
  35. -- rect: left=268 top=186 right=208 bottom=368
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 0 / 0
  38. -- text alignment: 1
  39. -- font id: 0
  40. -- text size: 12
  41. -- style flags: 0
  42. -- line height: 16
  43. -- part name: CLEAR
  44. ----- HyperTalk script -----
  45. on mouseUp
  46.   put 0 into card field helpone
  47.   put 0 into card field helptwo
  48.   put 0 into card field helpthree
  49.   put 0 into card field ansone
  50. end mouseUp
  51.  
  52.  
  53.  
  54. -- part 3 (button)
  55. -- low flags: 00
  56. -- high flags: 8003
  57. -- rect: left=268 top=213 right=235 bottom=368
  58. -- title width / last selected line: 0
  59. -- icon id / first selected line: 0 / 0
  60. -- text alignment: 1
  61. -- font id: 0
  62. -- text size: 12
  63. -- style flags: 0
  64. -- line height: 16
  65. -- part name: CALCULATE
  66. ----- HyperTalk script -----
  67. on mouseUp
  68.   put the value of (card field helpone + card field helptwo + card field helpthree) into card field ansone
  69. end mouseUp
  70.  
  71.  
  72.  
  73. -- part 4 (field)
  74. -- low flags: 00
  75. -- high flags: 0002
  76. -- rect: left=378 top=161 right=184 bottom=486
  77. -- title width / last selected line: 0
  78. -- icon id / first selected line: 0 / 0
  79. -- text alignment: 0
  80. -- font id: 3
  81. -- text size: 12
  82. -- style flags: 0
  83. -- line height: 16
  84. -- part name: helpone
  85.  
  86.  
  87. -- part 5 (field)
  88. -- low flags: 00
  89. -- high flags: 0002
  90. -- rect: left=378 top=186 right=209 bottom=486
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 0 / 0
  93. -- text alignment: 0
  94. -- font id: 3
  95. -- text size: 12
  96. -- style flags: 0
  97. -- line height: 16
  98. -- part name: helptwo
  99.  
  100.  
  101. -- part 6 (field)
  102. -- low flags: 00
  103. -- high flags: 0002
  104. -- rect: left=378 top=212 right=235 bottom=486
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 0 / 0
  107. -- text alignment: 0
  108. -- font id: 3
  109. -- text size: 12
  110. -- style flags: 0
  111. -- line height: 16
  112. -- part name: helpthree
  113.  
  114.  
  115. -- part 7 (field)
  116. -- low flags: 00
  117. -- high flags: 0002
  118. -- rect: left=322 top=240 right=263 bottom=430
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 0 / 0
  121. -- text alignment: 0
  122. -- font id: 3
  123. -- text size: 12
  124. -- style flags: 0
  125. -- line height: 16
  126. -- part name: ansone
  127.  
  128.  
  129. -- part 8 (button)
  130. -- low flags: 00
  131. -- high flags: 8003
  132. -- rect: left=205 top=315 right=337 bottom=256
  133. -- title width / last selected line: 0
  134. -- icon id / first selected line: 0 / 0
  135. -- text alignment: 1
  136. -- font id: 0
  137. -- text size: 12
  138. -- style flags: 0
  139. -- line height: 16
  140. -- part name: NEXT
  141. ----- HyperTalk script -----
  142. on mouseUp
  143.   go to next card
  144. end mouseUp
  145.  
  146.  
  147.  
  148. -- part 9 (button)
  149. -- low flags: 00
  150. -- high flags: 8003
  151. -- rect: left=149 top=314 right=337 bottom=199
  152. -- title width / last selected line: 0
  153. -- icon id / first selected line: 0 / 0
  154. -- text alignment: 1
  155. -- font id: 0
  156. -- text size: 12
  157. -- style flags: 0
  158. -- line height: 16
  159. -- part name: PREV.
  160. ----- HyperTalk script -----
  161. on mouseUp
  162.   go back
  163. end mouseUp
  164.  
  165.  
  166.  
  167. -- part contents for background part 1
  168. ----- text -----
  169. HELP
  170.  
  171. -- part contents for background part 2
  172. ----- text -----
  173. This section provides you with information about the operation and set-up of the stack itself. If you are unfamiliar with the Macintosh or with Hypercard, you will find the material in this section useful.
  174.  
  175. Each card in the stack is set-up in this format. A scrolling window on the left of the screen, a clear area on the right in which diagrams or answer and data input fields will appear. If the copy in the scrolling window exceeds the available space, you can view the excess by clicking on the arrow at the lower end of the scrolling bar. Express scrolling to different positions in the field is accomplished by placing the mouse arrow in the clear elevator box in the scrolling window, clicking on the mouse button and dragging the window either up or down the bar. When the mouse button is released, the copy will quickly move to the relative position occupied by the elevator box. Return to the beginning of the copy by either dragging the elevator window to the top of the bar or clicking on the upward pointing arrow and holding the mouse button down until the top of the window is reached.
  176.  
  177. Across the bottom and, whenever possible beneath the scrolling window, navigational buttons will appear. Clicking on them will permit the student to jump from section to section for review or supplemental information.  The DIRECTORY button returns the student to the directory at the beginning of the stack. If for whatever reason you become lost in the stack or unable to find a specific card, returning to the directory will permit you to regain your               "directional bearings". In some sections, specific effects or locations can be gained by clicking on specific buttons. Sequential moves through a series of cards merely requires that the user click on the NEXT button.  Note that by alternately depressing the NEXT and PREV. buttons, the student can easily flip between two adjacent cards for a quick review of a process. 
  178.  
  179. When you have finished with a particular section click on the DIRECTORY button to avail yourself of another selection. If you wish to quit the stack, all you need to do is simultaneously depress the [CONTROL] button along with the Q button. If the NEXT button is depressed at the end of a section, you will find yourself at the first card of the next section in the stack sequence. Note that the different stack sections do not necessarily follow a logical sequence. Therefore, although it is possible to start at the beginning of a stack and proceed stepwise through each card by clicking the NEXT button, it is recommended that different sections be accessed through the directory buttons. NOTE: The PREV. button returns to user to the last accessed card. If you are simply flipping through a stack, then it will be the previous card in the sequence. If you have just clicked on a navigational button however, the PREV. button will return you to that point in the stack which you just left.
  180.  
  181. If the student wishes to terminate a running demonstration, the 
  182. [CONTROL] and period (.) keys should be simultaneously depressed. This will terminate the program and return control of the keyboard and mouse to the student.
  183.  
  184. The program will automatically open in the browse mode... signified by the little hand when the cursor is moved into the clear field on the right. If the student wishes to make notes or modify the copy in the scrolling window, he need only move the cursor to the desired point in the window, click it into place and start typing. If the student wishes to modify a diagram or add notes to the clear field on the right, he should click on the Tools heading in the menu bar and then click on the appropriate drawing options in the pull-down menu. In other words, the student has the opportunity to customize this disk to suit his particular needs.
  185.  
  186.           THE FIND FEATURE
  187.  
  188. Specific terms can be quickly found by simultaneously depressing the 
  189. [CONTROL] key and the [F ]key. A     "find box" will appear at the bottom of the screen with the cursor located between two quotation marks. Simply enter the term you wish to find and hit the [RETURN] key. If the term is anywhere in the scrolling windows it will be quickly found and displayed with a box around it. Note, in the definition section of this stack, the find feature is particularly important. The find feature is part of HyperCard and is exceedingly useful when reviewing specific terms. NOTE: Hypercard will not find terms entered as labels or parts of diagrams located in the area to the right of this window.
  190.  
  191.         OUT OF BROWSE MODE
  192.  
  193. If you accidently get out of the browse mode (the little hand with the pointing finger does not appear in the clear field at the right), you can enter it by clicking on the TOOLS title in the menu bar and then releasing the mouse button after placing it over the little hand with the pointing finger.
  194.  
  195.   DATA ENTRY, PROGRAM RUNNING
  196.  
  197. Several programs allow the student to enter data and calculate values. The disk also allows the student to run computerized models of many different genetic crosses and then to analyze the data statistically. Whenever the student begins one of these programs, the RESET or CLEAR button should be clicked. This will clear the program windows of previously logged data and set the cursor into the first data entry window. All the student then needs to do is enter the requested figures. To move to a second data entry window, the student must depress the TAB key on his keyboard. If for any reason the student gets out of sequence in entering data or wishes to return to a previously filled window to change data, he or she must move the cursor to that window and click the mouse button. The new data can then be edited into the window. On occasion the CALCULATE button might be activated when no data is in the appropriate window. When that happens, a message box to the effect that the program cannot execute the command will flash on the screen. Simply click on the cancel button and enter the requisite data in the appropriate window.
  198.  
  199. At times, the student will have to transfer data from one card to another. The scripting is designed to automatically do this when required and all the student needs to do is click on the appropriate navigational button. When one moves from one card to another, the original data is not lost from the previous card... even if the student quits HyperCard. Hence, values recorded or obtained on one day will be available the next for reference.
  200.  
  201.            TRIAL EXERCISE
  202.  
  203. On the right, you will see three buttons and four windows. Many programs in this stack contain similar if not identical buttons. The CLEAR button generally clears data from all the appropriate windows, possibly replacing it with 0's but only when necessary. The RESET button clears the data from the windows but sets the cursor automatically in the window for initial data entry. All you have to do is type in the appropriate data for that window. You then access the next window for data entry by hitting the TAB key on the keyboard. You will see that the cursor moves to the next window in line. The calculate button executes the function. In this case... it will add the figures you have put into the three windows on the right. If you make a mistake, you can correct it in several ways. You may place the mouse cursor in the appropriate window and click on it to the right of the erroneous figure. Then backspace through the data using the DELETE button and reenter your data. You can also highlight the figure and remove it with CONTROL X. You may also TAB through the windows with the TAB key. When accessing windows with data in them, the window will be highlighted. When you reach the window with the erroneous data, hit the DELETE button or simply begin to type in the correct data. Either approach will eliminate the original entry and substitute the latter. Practice on the exercise at the right. Hit the RESET button and enter some data. Hit the TAB and enter additional data. Repeat for the third window and then hit the CALCULATE button. Clear or reset the program with the appropriate buttons. NOTE that the RESTORE buttons on some cards return the card to its original condition after an answer or diagram has been revealed.
  204.  
  205.          TRICKS AND HINTS 
  206.  
  207. If you have a graph and want to get the location of a point out to either the X or Y axis, stop the program when the desired point value is presented in the answer box. Do this by simultaneously hitting the CONTROL and (.) keys. Now you can use the line tool from the TOOLS heading in the menu bar. Put it on the point in question and draw the straight line to either axis. Note that any such lines you put into the graph will remain a part of the graph until you clear the card. Once the desired lines are drawn, you may continue by clicking on the RUN button and the program will pick up where it left off.
  208.  
  209. Hypercard automatically saves cards and data as you work. Therefore, if you wish to terminate an operation, you may simply quit Hypercard. The next time you access the stack, the data you entered during the previous session will already be in the stack, nothing will have been lost.
  210.  
  211. Although you can move sequentially from card to card by pressing the -> key. Buttons are provided because updated versions of Hypercard now allow use of the arrow keys for moving through text windows. If you have the older version of Hypercard, you can go forward or backward by alternately hitting the 
  212. -> and <- keys.
  213.  
  214.           THE FIND BUTTON
  215.  
  216. A nice feature. Simply click on this button and the find box will appear across the bottom of the screen. Type in the term you wish to locate and hit the RETURN key. The system will quickly search through the cards and display the card containing the desired term. Click on the RETURN key again and the next occurrence of the term will be displayed. Exit the find feature by hitting the space bar.
  217.  
  218. -- part contents for background part 8
  219. ----- text -----
  220. 115